package com.knshare.gen.config;

/**
 * 代码生成配置
 *
 * @author 杨静 147565412@qq.com
 */
public class GenConfig {

    /**
     * 作者
     */
    public String author;

    /**
     * 邮箱
     */
    public String email;

    /**
     * 包名，实体类所处包位置
     */
    public String packageName;

    /**
     * 表名
     */
    public String tableName;

    /**
     * 生成路径，例如：D:\test\User.java
     */
    public String genPath;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getGenPath() {
        return genPath;
    }

    public void setGenPath(String genPath) {
        this.genPath = genPath;
    }

    @Override
    public String toString() {
        return "GenConfig{" +
                "author='" + author + '\'' +
                ", email='" + email + '\'' +
                ", packageName='" + packageName + '\'' +
                ", tableName='" + tableName + '\'' +
                ", genPath='" + genPath + '\'' +
                '}';
    }
}
